package com.weipai.demo.service;


import com.weipai.demo.model.DUser;
import com.weipai.demo.util.Response;

public interface UserService {
    DUser getUserByLoginName(String userName);

    DUser getUserByLoginUserId(String userId);

    Response login(DUser dUser);


    //退出登录
      Response loginOut();

    //管理员重置密码
    Response resetUserPassword(String userName,String oldPassword, String newPassword, String twoPassword,Integer id);


}
